package com.dy.video.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dy.video.Gz;
import com.dy.video.mapper.GzMapper;
import com.dy.video.service.GzService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GzServiceImpl extends ServiceImpl<GzMapper, Gz> implements GzService {

    @Autowired
    GzMapper gzMapper;
    @Override
    public void attention(Gz gz) {
       baseMapper.insert(gz);
    }
}
